package com.temp.dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
public class PermDTO {

    private Long id;

    @NotBlank(message = "apiMsg.permNameNotNull")
    private String name;

    @NotBlank(message = "apiMsg.moduleNameNotNull")
    private String module;

    @NotNull(message = "apiMsg.statusNotNull")
    private int status;

    @NotBlank(message = "apiMsg.descriptionNotNull")
    private String description;
}